/*******************************************************************************
* Project: QSAR(Cute Software Architecture) 
*
* Copyright: Copyright(C) 2024 by YuetingBen, All Rights Reserved
*
* File name: AppDiagRte.h
*
* Brief: ;
*
* Author: Yueting.Ben
*
* Module: AppDiag
*
* Revision:
* --------------------------------------------------------------------------------
* v0.1: 
* --Yueting.Ben, 2024-03-21 
* --Initial release

**********************************************************************************/
#ifndef APPDIAGRTE_H
#define APPDIAGRTE_H

/** HEADER FILES **/
#include "DcmType.h"
#include "NvmType.h"


/** GLOBAL FUNCTION DECLARATION **/
extern Std_ReturnType NvM_WriteBlock(
    NvM_BlockIdType BlockId,
    const void* NvM_SrcPtr
);

extern Std_ReturnType NvM_ReadBlock(
    NvM_BlockIdType BlockId,
    void* NvM_DstPtr
);

extern Std_ReturnType NvM_GetErrorStatus
(
    NvM_BlockIdType BlockId,
    NvM_RequestResultType* RequestResultPtr
);

#endif
